package corestruct

import (
	"reflect"
)

type Action struct {
	FullUrl     string `json:"fullUrl"      validate:"max=100"  gorm:"column:full_url;size:100;comment:FullUrl;"`
	Method      string `json:"Method"      validate:"max=100"  gorm:"column:full_url;size:100;comment:Method;"`
	Name        string `json:"name"         validate:"required,max=50"gorm:"column:name;size:50;comment:名称;"`
	Ename       string `json:"ename"        validate:"required,max=50"gorm:"column:ename;size:50;comment:ename;"`
	Memo        string `json:"memo"                             gorm:"column:memo;comment:备注;"`
	PinType     string `json:"pinType"      validate:"max=100"  gorm:"column:pin_type;size:100;comment:参数类型;"`
	PinIslist   bool   `json:"pinIslist"                        gorm:"column:pin_islist;comment:参数是否List;"`
	PoutType    string `json:"poutType"     validate:"max=100"  gorm:"column:pout_type;size:100;comment:返回类型;"`
	PoutIslist  bool   `json:"poutIslist"                       gorm:"column:pout_islist;comment:返回是否List;"`
	PoutIspage  bool   `json:"poutIspage"                       gorm:"column:pout_ispage;comment:返回是否分页;"`
	AuthType    string `json:"authType"     validate:"max=10"   gorm:"column:auth_type;size:10;comment:授权类型;"`
	LogNeed     bool   `json:"logNeed"                          gorm:"column:log_need;comment:是否需要日志;"`
	LogTemplete string `json:"logTemplete"  validate:"max=100"  gorm:"column:log_templete;size:100;comment:日志模板;"`
	LogPin      bool   `json:"logPin"                           gorm:"column:log_pin;comment:是否记录参数;"`
	LogPout     bool   `json:"logPout"                          gorm:"column:log_pout;comment:是否记录输出;"`

	PrjName string `json:"prjName"                          gorm:"column:prj_name;comment:项目名称;"`
	reflect.Value
}
